import java.math.BigDecimal;

/**
 * @author LiuYan
 * @date 2021/12/1 16:21
 */
public class Part11 {
    public static void main(String[] args) {

        BigDecimal num1 = new BigDecimal(1.0);

        BigDecimal num2 = new BigDecimal(0.8);

        System.out.println(num1.subtract(num2));

        System.out.println(BigDecimal.valueOf(1.0).subtract(BigDecimal.valueOf(0.8)));
    }
}
